home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AOL File Library: 2,801 to 2,900
/
aol-file-protocol-4400-2801-to-2900.zip
/
AOLDLs
/
C++ Files Library
/
3D & Offscreen for MacApp 3
/
3D & Offscreen Sample.sea
/
3D & Offscreen Sample
/
TSquareWindow.cp
< prev
next >
Wrap
Text File
|
1993-04-23
|
2KB
|
61 lines
/*************************************************************************
File: TSquareWindow.h
C O P Y R I G H T N O T I C E
Copyright ⌐ 1989, 1990, 1991, 1992 Siemens Gammasonics, Inc.
All Rights Reserved.
No portions of this source code or the resulting compiled
program may be used without express written consent and liscensing
by Siemens Gammasonics, Inc.
D E S C R I P T I O N
Classes Defined Here:
Ñ
Change History
Rev 1 Fri, Apr 23, 1993 @ 1:40 PM Hanig
Creation
*************************************************************************/
/*************************************************************************/
/* Include Files */
/*************************************************************************/
#ifndef __TSquareWindow__
#include "TSquareWindow.h"
#endif
/*************************************************************************/
/* Constants */
/*************************************************************************/
/*************************************************************************/
TSquareWindow::TSquareWindow( void )
{
}
/*************************************************************************/
#pragma segment MAViewNonRes
pascal void TSquareWindow::Resize(const VPoint& newSize, Boolean invalidate)
{
VPoint squareSize(newSize);
if ( squareSize.v > squareSize.h )
squareSize.v = squareSize.h;
else
squareSize.h = squareSize.v;
inherited::Resize (squareSize, invalidate);
}
/*************************************************************************/
/*************************************************************************/